import ENV_CONFIG from './envConfig.js';

const DEFAULT_PROJECT_CONFIG = {
    // 是否需要生成静态页面，官网类的静态网站需要该功能
    enableGenerateStaticPage: false,
    // 标签栏的工作台名称是否要动态设置为当前主题名，参考宁波海事
    dynamicDashboardName: false,
    defaultDashboardName: '工作台',
    useDashboard: true,
    isShowFixed:false,
};
const ALL_PROJECT_CONFIG = {
    'standard': DEFAULT_PROJECT_CONFIG,
    'gd': Object.assign({}, DEFAULT_PROJECT_CONFIG, {
        app80:true, // 80系统
        isShowFixed:true,
    }),
    'gw': Object.assign({}, DEFAULT_PROJECT_CONFIG, {
        enableGenerateStaticPage: true,
        isShowFixed:false,
    }),
    'nbhs': Object.assign({}, DEFAULT_PROJECT_CONFIG, {
        dynamicDashboardName: true,
        app80:true, // 80系统
        loginFalg:true, // 登录js
        isShowFixed:false,
    }),
};

const PROJECT_CONFIG = ALL_PROJECT_CONFIG[ENV_CONFIG.VUE_APP_CODE];
export default PROJECT_CONFIG;